package com.xuerhua.yxt.service;

import java.util.List;

import com.xuerhua.yxt.model.SchoolWechatTemplate;
import com.xuerhua.yxt.view.SchoolWechatTemplateDictView;

public interface ISchoolWechatTemplateService {

	int insertSelective(SchoolWechatTemplate record);

    SchoolWechatTemplate selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(SchoolWechatTemplate record);

    int updateByPrimaryKey(SchoolWechatTemplate record);
    
    List<SchoolWechatTemplateDictView> selectListForDict(SchoolWechatTemplate record);
    
    SchoolWechatTemplate selectByTemplateCode(SchoolWechatTemplate record);
    
    String selectTemplateKey(Integer schoolId, String templateCode);
}
